package com.yugao.fintech.antelope.pay.common.manager;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yugao.fintech.antelope.pay.common.mapper.PayOrderMapper;
import com.yugao.fintech.antelope.pay.model.entity.PayOrder;
import org.springframework.stereotype.Component;


@Component
public class PayOrderManager extends ServiceImpl<PayOrderMapper, PayOrder> {
    public PayOrder getByPayOrderNo(String payOrderNo) {
        return this.getOne(PayOrder.lqw().eq(PayOrder::getPayOrderNo, payOrderNo));
    }
}
